package com.itdfq.provider.service;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @Author GocChin
 * @Date 2021/6/19 15:52
 * @Blog: itdfq.com
 * @QQ: 909256107
 */

@Service  //发布服务，注入到注册中心  用的是dubbo的service
@Component  //放入容器中
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicker() {
        return "Doobo+Zookeeper";
    }
}
